import React from 'react';
// jsx渲染的插件
import ReactDOM from 'react-dom';
import './index.css'; //公共的css 

// import {ConfigProvider,Button} from 'antd'
// import zhCN from 'antd/lib/locale/zh_CN';
// import moment from 'moment';
// import 'moment/locale/zh-cn';
// import 'antd/dist/antd.css';
// moment.locale('zh-cn');


import App from './App'; //根组件
// 性能报告
import reportWebVitals from './reportWebVitals';
// 导入路由文件
// import Router from './router/router.js'
// 将app根组件渲染到主页
ReactDOM.render( 
// React.StrictMode 严格模式的渲染
			<App />,
    document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();